package lanou.giftsay_01.main;

import android.content.Intent;
import android.os.AsyncTask;
import android.view.View;
import android.widget.ImageView;



import lanou.giftsay_01.R;
import lanou.giftsay_01.tools.BaseActivity;


/**
 * Created by dllo on 16/9/2.
 */
public  class WelcomeActivity extends BaseActivity {
    @Override
    protected int setLayout() {
        return R.layout.activity_welcome;
    }
    @Override
    protected void initView() {
    }
    @Override
    protected void initDate() {
        new Thread(new Runnable() {
              @Override
              public void run() {
                  Intent intent = new Intent(WelcomeActivity.this,MainActivity.class);
                  try {
                      Thread.sleep(5000);
                  } catch (InterruptedException e) {
                      e.printStackTrace();
                  }
                  startActivity(intent);
                  finish();
              }
          }).start();

    }



}
